package com.blog4j.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog4j.user.entity.ApplyOrganizationEntity;
import com.blog4j.user.vo.resp.ApplyOrganizationRespVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2024/8/12 13:40
 **/
@Mapper
public interface ApplyOrganizationMapper extends BaseMapper<ApplyOrganizationEntity> {
    /**
     * 获取申请创建组织信息的列表
     *
     * @param reqVo 请求
     * @return 申请创建组织信息的列表
     */
    List<ApplyOrganizationRespVo> getApplyOrganizationList(@Param("organizationName") String organizationName,
                                                           @Param("approveStatus") Integer approveStatus,
                                                           @Param("userName") String userName);
}
